import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';

const dashboard: AppRouteModule = {
  path: '/dashboard',
  name: 'Dashboard',
  component: LAYOUT,

  meta: {
    hideChildrenInMenu: true,
  },
  children: [
    {
      path: '',
      name: 'Workbench',
      component: () => import('@/views/dashboard/workbench/index.vue'),
      meta: {
        hideMenu: true,
        showNav: true,
      },
    },
  ],
};

export default dashboard;
